﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

public class NPCDialog
{
    //private Condition cond;
    private string text;
    private List<Condition> need, give;

    public List<Condition> Need
    {
        get { return need; }
        set { need = value; }
    }

    public List<Condition> Give
    {
        get { return give; }
        set { give = value; }
    }

    public string Text
    {
        get { return text; }
        set { text = value; }
    }

    public NPCDialog()
    {
        give = new List<Condition>();
        need = new List<Condition>();
    }

    public NPCDialog(string text)
    {
        give = new List<Condition>();
        need = new List<Condition>();
        this.text = text;
    }

    public void GiveCondition()
    {
        GameSession.GiveCondition(give);
    }
}
